from socket import *

s = socket(AF_INET,SOCK_STREAM)

host =  input("hostname:")
port = 12345

s.connect((host,port))

msg = s.recv(1024)

print(msg.decode("utf-8"))
